package com.yumeng.framework.auth.shiro.matcher;

import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.credential.CredentialsMatcher;

/**
 * 远程凭证匹配器，由于验证在远程服务器，此处直接返回成功（true）
 * @author wxd
 * @date 2022/9/30 20:10
 */
@Deprecated
public class RemoteCredentialsMatcher implements CredentialsMatcher {
    @Override
    public boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) {
        return true;
    }
}
